
var show = 0;

window.onload = function () {
	var now_top = $("#now_top").val();
	console.log(now_top)
	$("#"+now_top).attr("style","background: #008fbf;");
	$(".top_admin .list-group").hide();
}

function show_admin() {
	if(show == 0){
		$("#shows").removeClass("tohide");
		$("#shows").addClass("toshow");
		$(".top_admin .list-group").show();
		$(".top_admin").css("background-color","aliceblue");
		$(".top_admin_a").css("color","darkblue");
		show = 1;
	}else if(show == 1){
		$("#shows").removeClass("toshow");
		$("#shows").addClass("tohide");
		$(".top_admin .list-group").hide();
		$(".top_admin").css("background-color","#09C");
		$(".top_admin_a").css("color","#fff");
		show = 0;
	}else{
		$("#shows").removeClass("tohide");
		$("#shows").addClass("toshow");
		$(".top_admin .list-group").show();
		$(".top_admin").css("background-color","aliceblue");
		$(".top_admin_a").css("color","darkblue");
		show = 1;
	}
}